<?php
define('APPTYPEID', 201);
define('CURSCRIPT', 'yourstyle');
require_once './source/class/class_core.php';
$discuz = & discuz_core::instance();

$modarray = array('index', 'ajax','awards', 'ranking', 'regulations', 'register');

$mod = !in_array($discuz->var['mod'], $modarray) ? 'index' : $discuz->var['mod'];

define('CURMODULE', $mod);
$discuz->init();
runhooks();

$setting = array(
	'start_date' 		=> 0,
	'end_date'			=> 0,
	'register_start' 	=> 0,
	'register_end' 		=> 0,
	'votes_start'		=> 0,
	'votes_end'			=> 0,
	'album_minpic'		=> 0,
	'album_mindate'		=> 01/09/2012,
	'user_group_join'	=> array(),
	'user_group_votes'	=> array(),
);

require_once libfile('yourstyle/'.$mod, 'module');
?>